# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

load("//rules:autogen.bzl", "autogen_cryptotest_hjson_external")

package(default_visibility = ["//visibility:public"])

filegroup(
    name = "ecdsa_p256_verify_testvectors_hardcoded",
    srcs = ["ecdsa_p256_verify_hardcoded.hjson"],
)

filegroup(
    name = "rsa_3072_verify_testvectors_hardcoded",
    srcs = ["rsa_3072_verify_hardcoded.hjson"],
)

filegroup(
    name = "kmac_verify_testvectors_hardcoded",
    srcs = ["kmac_verify_hardcoded.hjson"],
)

filegroup(
    name = "sphincsplus_shake_128s_simple_testvectors_hardcoded",
    srcs = ["sphincsplus_shake_128s_simple_hardcoded.hjson"],
)

autogen_cryptotest_hjson_external(
    name = "rsa_3072_verify_testvectors_wycheproof",
    src = "//sw/vendor/wycheproof/testvectors:rsa_signature_3072_sha256_test.json",
    parser = "//sw/device/tests/crypto/testvectors/wycheproof:rsa_3072_verify_parse_testvectors",
)
